package com.zhiche.lisa.lspm.dao.model.lsp;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 关系类型
 * </p>
 *
 * @author qichao
 * @since 2018-05-23
 */
@TableName("lisa_lsp_relation_type")
public class LspRelationType extends Model<LspRelationType> {

    private static final long serialVersionUID = 1L;

	private Integer id;
    /**
     * 源实体
     */
	private Integer code;
    /**
     * 值：01-归属;02-供应商;03-客户
     */
	private String value;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "LspRelationType{" +
			", id=" + id +
			", code=" + code +
			", value=" + value +
			"}";
	}
}
